<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8" />
<title>CSS Pseudo-Elements Test: Change color of spelling error</title>
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
<link rel="help" href="https://drafts.csswg.org/css-pseudo/#selectordef-spelling-error">
<meta name="assert" content="This test checks that it's possible to modify the color of a spelling error through ::spelling-error pseudo-element.">
<link rel="mismatch" href="spelling-error-color-001-ref.html">
<script src="../support/markers.js"></script>
<style>
  ::spelling-error {
    text-decoration-color: rgba(200, 225, 50, 0.75);
  }
</style>

<p>The test passes if "quikc" has a spelling error marker that is not the default color (usually red).</p>
<div id="target" contenteditable spellcheck>The quikc brown fox.</div>

<script>
  target.focus();
  addSpellingMarker(target, 4, 9);
</script>
</html>
